﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SSAT.Utils
{
    /// <summary>
    /// Class to represent two items of the same 
    /// type.
    /// </summary>
    /// <typeparam name="T">Type of items.</typeparam>
    public sealed class Tuple<T>
    {
        private readonly T _field1;
        private readonly T _field2;

        public T Field1
        {
            get { return _field1; }
        }

        public T Field2
        {
            get { return _field2; }
        }

        public Tuple(T field1, T field2)
        {
            _field1 = field1;
            _field2 = field2;
        }
    }
}
